import car from './mock/car';
import { createPromise } from './util';
import Mock from 'mockjs';
/** 驾驶急加速TOP5 */
export const accTop = (data) => {
  return createPromise(Mock.mock(car['accTop']));
}
/** 驾驶急刹车TOP5 */
export const brakeTop = (data) => {
  return createPromise(Mock.mock(car['brakeTop']));
}
/** 驾驶急转弯TOP5 */
export const wheelTop = (data) => {
  return createPromise(Mock.mock(car['wheelTop']));
}
/** 行驶时间TOP10 */
export const timeTop = (data) => {
  return createPromise(Mock.mock(car['timeTop']));
}
/** 行驶速度TOP10 */
export const speedTop = (data) => {
  return createPromise(Mock.mock(car['speedTop']));
}
/** 行驶距离TOP10 */
export const distanceTop = (data) => {
  return createPromise(Mock.mock(car['distanceTop']));
}
/** 行驶时间统计 */
export const time = (data) => {
  return createPromise(Mock.mock(car['time']));
}
/** 行驶速度统计 */
export const speed = (data) => {
  return createPromise(Mock.mock(car['speed']));
}
/** 行驶距离统计 */
export const distance = (data) => {
  return createPromise(Mock.mock(car['distance']));
}
